package cn.edu.sdjzu.xg.bysj.domain.authority;

import lombok.*;

import java.io.Serializable;

@ToString
@Setter
@Getter
@NoArgsConstructor
@AllArgsConstructor
public class Resource implements Comparable<Resource>, Serializable {
	private Integer id;
	private String description;
	private String url;
	private String no;
	private String remarks;

	public Resource(int id){
		this.id =id;
	}
	public Resource(String description,String no,String url){
		this.description = description;
		this.no = no;
		this.url = url;
	}
	@Override
	public int compareTo(Resource o) {
		// TODO Auto-generated method stub
		return this.id - o.id;
	}
}
